package io.renren.modules.app.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 账户余额日志
 * 
 * @author
 * @email
 * @date 2021-01-12 16:56:22
 */
@Data
@TableName("tb_balance_log")
@ApiModel(value = "BalanceLog对象", description = "账户余额日志")
public class BalanceLogEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
		@ApiModelProperty(value = "",example = "1")
private Integer id;
	/**
	 * 用户id
	 */
		@ApiModelProperty(value = "用户id",example = "1")
private Integer userId;
	/**
	 * 创建时间
	 */
		@ApiModelProperty(value = "创建时间",example = "1611127749")
private Integer createTime;
	/**
	 * 1:收到直播礼物2：提现3:提现失败4申请商家1:收到直播礼物2：提现3:提现失败4：申请商家5：审核未通过退款
	 */
		@ApiModelProperty(value = "1:收到直播礼物2：提现3:提现失败4申请商家1:收到直播礼物2：提现3:提现失败4：申请商家5：审核未通过退款",example = "1")
private Integer source;
	/**
	 * 1代表收入0代表支出
	 */
		@ApiModelProperty(value = "1代表收入0代表支出",example = "1")
private Integer type;
	/**
	 * 备注
	 */
		@ApiModelProperty(value = "备注")
private String remark;
	/**
	 * 操作数量
	 */
		@ApiModelProperty(value = "操作数量")
private BigDecimal num;
	/**
	 * 现有余额
	 */
		@ApiModelProperty(value = "现有余额")
private BigDecimal nowNum;
	/**
	 * 详细记录
	 */
		@ApiModelProperty(value = "详细记录")
private String detailRemark;
	/**
	 * 订单编号
	 */
		@ApiModelProperty(value = "订单编号")
private String orderNumber;

}
